<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui">

<h:head>
	<link rel="stylesheet"
		href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css">
	</link>

	<title>Activity planner</title>
</h:head>

<h:body>

	<center>
		<div class="main">
			<legend>Sign in to Activity planner!</legend>

			<h:form id="userBean" class="text-info">

				<br /> Login<br />
				<!-- <h:inputText name="login" value="#{userBean.login}" class="text-info" /> -->

				<h:inputText id="login" type="text" class="text-info"
					value="#{userBean.login}" />

				<br />
				Password<br />
				<h:inputSecret name="password" value="#{userBean.password}"
					class="text-info" />
				<!-- 
				<input name="password" type="password" class="text-info"
					value="#{userBean.password}" />
					-->
				<br />
				<br />
				<br />

				<p>
					<h:commandButton value="Login" class="btn-info btn"
						action="#{userBean.loginCheck}" />
					&nbsp;
					<h:commandButton type="reset" class="btn-info btn" value="Reset" />
				</p>

			</h:form>

		</div>
	</center>

</h:body>
</html>